package com.teamwork.demo.service;

import com.hit.demo1.param.StuParam;
import com.teamwork.demo.entity.Application;
import com.teamwork.demo.entity.Group;
import com.teamwork.demo.entity.Stu;
import org.springframework.data.domain.Page;

public interface AdminService {
    Page<Stu> findAll(StuParam stuParam, int page, int limit);

    Stu save(Integer sid, String sgrade, String sgroup);

    Stu update(Stu stu);

    //Application update(Application application);

    Application savecon(Integer sid, String scondition);

    int delete(Integer id);

    Group createGroup(Integer gid, String member1, String member2, String member3, String member4, String member5);


}
